package com.xlf.service.base.service;

import com.xlf.common.core.util.page.TableDataInfo;
import com.xlf.pojo.base.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 小新
* @description 针对表【announcement】的数据库操作Service
* @createDate 2023-12-31 11:17:20
*/
public interface AnnouncementService extends IService<Announcement> {

    TableDataInfo getCommonAnnouncement();

    Announcement getAnnouncement(Long id);

    List<Announcement> getList(Announcement announcement);

    boolean updateStatus(Announcement announcement);
}
